//
//  LXCommentViewController.m
//  duoduo
//
//  Created by wanghao on 16/10/28.
//  Copyright © 2016年 LX. All rights reserved.
//

#import "LXCommentViewController.h"

@interface LXCommentViewController ()
@property (weak, nonatomic) IBOutlet UIButton *submitBtn;

@end

@implementation LXCommentViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    //登录按钮
    _submitBtn.backgroundColor = LXHexColor(0x5DCA68);
    _submitBtn.layer.cornerRadius = 6;
    _submitBtn.layer.masksToBounds = YES;
    [_submitBtn addTarget:self action:@selector(submitClick) forControlEvents:UIControlEventTouchUpInside];
}

- (void)submitClick
{
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [self.view endEditing:YES];
}

@end
